package com.data.modules.ai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.data.common.aspect.annotation.Dict;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description: 自动化流程规则数据
 * @Author: data-boot
 * @Date:   2022-03-03
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ai_rule对象", description="自动化流程规则数据")
public class AiRuleBO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**数据标题*/
	@Excel(name = "数据标题", width = 15)
    @ApiModelProperty(value = "数据标题")
    private String title;
	/**主体*/
	@Excel(name = "主体", width = 15)
    @ApiModelProperty(value = "主体")
    private String company;
	/**crm 主体id*/
	@Excel(name = "crm 主体id", width = 15)
    @ApiModelProperty(value = "crm 主体id")
    private Integer companyId;

    @ApiModelProperty(value = "城市数据")
	private List<AiRule> citys;

	/**数据来源 1-微信*/
	@Dict(dicCode = "ai_rule_source")
	@Excel(name = "数据来源 1-微信", width = 15)
    @ApiModelProperty(value = "数据来源 1-微信")
    private Integer source;

}
